// IRemoteAidl.aidl
package edu.guigu.servicedemo;

// Declare any non-default types here with import statements
// 导入MyData类
import edu.guigu.servicedemo.MyData;

// 声明MyData是序列化数据
parcelable MyData;

interface IRemoteAidl {
/**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    // void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,double aDouble, String aString);

    // 执行的方法(实现此接口，根据type去执行不同的动作业务)
    void action(int type);

    MyData getMyData();
}